/* embed a game replay */

$mq-col1: 9999px;

%border-bottom-active {
  border-bottom: 3px solid $c-secondary;
}

@import '../tools';
@import '../action-menu';
@import 'layout';
@import 'footer';
@import 'not-found';

.chapter-name {
  @extend %roboto;

  padding: 0.3em;
  border-bottom: $border;
  background: $c-bg-zebra;
  text-align: center;
}

cg-board {
  border-radius: 0;
  box-shadow: none;
}

.analyse .gamebook {
  .comment {
    margin: 0 2vw;
  }

  &-embed {
    @extend %popup-shadow;
    z-index: z('cg__board.overlay');
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    padding: 2em 4em;
  }
}
